package com.example.administrator.yunniuusedcar.adapter;

import android.content.Context;
import android.view.ViewGroup;
import com.example.administrator.common.ui.BaseAdapterRV;
import com.example.administrator.common.ui.BaseHolderRV;
import com.example.administrator.yunniuusedcar.holder.MainNewInfoHolder;
import com.example.administrator.yunniuusedcar.model.mode_benn.ZD_ArticleTopBean;

import java.util.List;

/**  置顶文章
 * Created by Administrator on 2017/12/21.
 */

public class MainNewInfoAdapter extends BaseAdapterRV<ZD_ArticleTopBean.Data> {

    public MainNewInfoAdapter(Context context, List<ZD_ArticleTopBean.Data> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<ZD_ArticleTopBean.Data> createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new MainNewInfoHolder(context,parent,this);
    }


}
